<template>
	
	<view>
		<view class="recommendHuati">
			<view class="iconfont icon-remen recommend-item"><text>热门</text></view>
			<text class="title"><slot>防疫日记：在家做点啥？</slot></text>
			<view class="chakan">查看话题<text class="iconfont icon-chakan"></text></view>
		</view>
	</view>
	
</template>

<script>
	
	export default {
		
	}
	
</script>

<style scoped lang="scss">
	
	.recommendHuati {
		height: 140rpx;
		width: 100%;
		background-color: #fff;
		margin-bottom: 30rpx;
		border-radius: 8px;
		padding: 0 20rpx;
		box-sizing: border-box;
		.recommend-item {
			float: left;
			background-color: #fd8aa0;
			color: #fff;
			margin-top: 40rpx;
			font-size: 26rpx;
			box-sizing: border-box;
			padding: 6rpx;
			border-radius: 6rpx;
			text {
				font-size: 22rpx;
			}
		}
		.title {
			float: left;
			width: 360rpx;
			margin-top: 40rpx;
			color: #333;
			font-size: 28rpx;
			margin-left: 20rpx;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
		.chakan {
			float: right;
			margin-top: 40rpx;
			width: 200rpx;
			height: 60rpx;
			text-align: center;
			line-height: 60rpx;
			background-color: #e9f9fc;
			font-size: 28rpx;
			color: #23a1cf;
			.icon-chakan {
				color: #06a6f3;
				margin-left: 10rpx;
			}
		}
	}
	
</style>
